package org.jeecg.modules.villageCadreAssist.mapper;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.villageCadreAssist.entity.VcaFamily;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.villageCadreAssist.entity.VcaResident;

/**
 * @Description: vca_family
 * @Author: jeecg-boot
 * @Date:   2022-02-13
 * @Version: V1.0
 */
public interface VcaFamilyMapper extends BaseMapper<VcaFamily> {

    public boolean deleteBatchByFamilyCodes(@Param("familyCodeSet") Set<String> familyCodeSet);

    IPage<VcaFamily> pageList(Page<VcaFamily> page, @Param(Constants.WRAPPER)QueryWrapper<VcaFamily> queryWrapper, @Param("orgCode")String orgCode);
}
